package com.chixing.day05;

import com.chixing.day04.Account;

/*
* 储蓄账户
* */
public class SavingAccount extends Account{
    public SavingAccount(){
        super();
    }

    public SavingAccount(long no, String name, long tel, long pwd, String email, double bal, int type){
        super(no,name,tel,pwd,email,bal,type); //直接调用父类
    }

    //重写override  父类的存取款方法
    public float depoist(float money){
        System.out.println("子类的存款方法：");
        return 0;
    }

    public float withdraw(float money){
        System.out.println("子类的取款方法：");
        return 0;
    }




}
